<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" href="../resource/css/alink.css" type="text/css"></link>
<link rel="stylesheet" href="../resource/css/common.css" type="text/css"></link>
     <s:include value="../resource/JsAndstyle.jsp"></s:include>
</head>
<body class="right_body">
	<table class="right_top" cellpadding="0" cellspacing="0">
		<tr>
			<td class="right_top_left"></td>
			<td class="right_top_center">当前位置：等待我审核的教师</td>
			<td class="right_top_right"></td>
		</tr>
	</table>

	<table class="right_middle" cellspacing="0" cellpadding="0">
		<tr>
			<td height="27"><p></p></td>
		</tr>
		<tr>
			<td style="vertical-align:top; padding:3px;">
				<table width="500" cellpadding="0" cellspacing="1" class="tableList">
					<tr>
						<th width="100">序号</th>
						<th width="150">教师姓名</th>
						<th width="150">教师性别</th>
						<th>所在学校</th>
						<th width="150">审核状态</th>
						<th width="150">查看教师详细信息</th>
					</tr>
					<s:iterator value="teacherPagination.datas" var="teacher"
						status="s">
						<tr <s:if test="#s.index % 2 == 0">class="trListOdd"</s:if>
							<s:else>class="trListEven"</s:else>>
							<td><s:property value="#s.count" /></td>
							<td><s:property value="#teacher.realName" /></td>
							<td><s:property value="#teacher.gender" /></td>
							<td><s:property value="#teacher.department.name" /></td>
							<td>等待我审核</td>
							<td><a
								href='${pageContext.request.contextPath}/teacher/showDetail.action?teacherId=<s:property value="#teacher.id" />'>查看教师详细信息</a>
							</td>
						</tr>
					</s:iterator>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="30" height="40" align="right">&nbsp;</td>
						<td align="left">共有 <s:property
								value="teacherPagination.recordCount" /> 条数据 当前 <s:property
								value="teacherPagination.pageIndex" /> / <s:property
								value="teacherPagination.pageCount" /> 每页 15 条</td>
						<td align="right">
							<div style="width: 140px;height: 20px;">
								<s:if test="teacherPagination.pageIndex!=1">
									<a
										href="${pageContext.request.contextPath}/school/showTeacherWaiting.action?pageIndex=1"
										class="btn_paging_first" title="首页"></a>
									<a
										href='${pageContext.request.contextPath}/school/showTeacherWaiting.action?pageIndex=<s:property
								value="(teacherPagination.pageIndex - 1)" />'
										class="btn_paging_prev" title="上一页"></a>
								</s:if>
								<s:if
									test="teacherPagination.pageIndex!=teacherPagination.pageCount">
									<a
										href='${pageContext.request.contextPath}/school/showTeacherWaiting.action?pageIndex=<s:property
								value="(teacherPagination.pageIndex + 1)" />'
										class="btn_paging_next" title="下一页"></a>
									<a
										href="${pageContext.request.contextPath}/school/showTeacherWaiting.action?pageIndex=<s:property
								value="teacherPagination.pageCount" />"
										class="btn_paging_last" title="尾页"></a>
								</s:if>
							</div>
						</td>

						<td width="30" align="right">&nbsp;</td>
					</tr>
				</table></td>
		</tr>
	</table>
</body>
</html>